
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import AntD from 'ant-design-vue'
import 'ant-design-vue/dist/antd.less'
import PluginState from 'pinia-plugin-persistedstate'
import '@/permission'
import Icons from '@/components/icons/index.js'

import App from './App.vue'
import router from './router/index.js'

const app = createApp(App)

const piniaApp = createPinia()
piniaApp.use(PluginState)
app.use(Icons)
app.use(piniaApp)
app.use(router)
app.use(AntD)

app.mount('#app')
